43ff0933b44c89490ffaa64e986a59f820dbfbb6,src/test/java/de/danielbechler/diff/NodePathBuilderTest.java,NodePathBuilderTest,testBuild_with_one_root_element_should_succeed,#,111
Before Change
@Test
public void testBuild_with_one_root_element_should_succeed() throws Exception
{
final NodePath nodePath = NodePath.createBuilder().withRoot().build();
assertThat(nodePath.getElements()).containsOnly(RootElement.getInstance());
}
}
After Change
@Test
public void testBuild_with_one_root_element_should_succeed() throws Exception
{
final NodePath nodePath = NodePath.withRoot();
assertThat(nodePath.getElementSelectors()).containsOnly(RootElementSelector.getInstance());
}
}